//
//  GoogleOpenViewController.swift
//  Exchange
//
//  Created by 孟祥群 on 2018/6/4.
//  Copyright © 2018年 common. All rights reserved.
//

import UIKit

class GoogleOpenViewController: BaseViewController {
    var viewModel:GoogleOpenViewModel?
    override init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: Bundle?) {
        super.init(nibName: nibNameOrNil, bundle: nibBundleOrNil)
        self.viewModel = GoogleOpenViewModel(controller: self)
    }
    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    override func viewDidLoad() {
        super.viewDidLoad()

        // Do any additional setup after loading the view.
        let view = GoogleOpenView(dataSource: viewModel)
        self.title = kText("谷歌验证")
        self.view.themeBackground = ThemeManager.ThemeColorKeys.background
        self.view.addSubview(view)
        view.snp.makeConstraints { (make) in
            make.left.right.bottom.height.equalToSuperview()
        }
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destinationViewController.
        // Pass the selected object to the new view controller.
    }
    */

}
